package com.jye.cloud.user.mapper;

import com.jye.cloud.domain.Comments;
import com.jye.cloud.domain.CommentsReply;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;


import java.util.List;

@Mapper
public interface CommentsReplyMapper{

    List<CommentsReply> findCommentsReplyByPIdAndType(@Param("pId") int pId,@Param("type")int type);

    void addComentsReply(@Param("cr") CommentsReply cr);

}
